.class Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;
.super Ljava/lang/Object;
.source "ViewImage21.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a(Les/cm;Landroid/graphics/Bitmap;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/cm;

.field final synthetic b:Landroid/graphics/Bitmap;

.field final synthetic c:Lcom/estrongs/android/pop/app/imageviewer/h;

.field final synthetic d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;Les/cm;Landroid/graphics/Bitmap;Lcom/estrongs/android/pop/app/imageviewer/h;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->a:Les/cm;

    iput-object p3, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->b:Landroid/graphics/Bitmap;

    iput-object p4, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->c:Lcom/estrongs/android/pop/app/imageviewer/h;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-boolean v2, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-nez v2, :cond_3

    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->a:Les/cm;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->m:Les/dm;

    iget v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a:I

    invoke-interface {v1, v0}, Les/dm;->b(I)Les/cm;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    goto :goto_1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget v1, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    iget v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a:I

    sub-int/2addr v1, v0

    invoke-static {v1}, Ljava/lang/Math;->abs(I)I

    move-result v0

    const/4 v1, 0x2

    if-ge v0, v1, :cond_2

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->b:Landroid/graphics/Bitmap;

    if-nez v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->b:Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->a:Les/cm;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->a(Les/cm;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget v2, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    iget v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a:I

    if-ne v2, v0, :cond_2

    const/4 v0, 0x0

    .line 6
    iput-object v0, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    goto :goto_0

    .line 7
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->b:Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->a:Les/cm;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->c:Lcom/estrongs/android/pop/app/imageviewer/h;

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->a(Les/cm;Lcom/estrongs/android/pop/app/imageviewer/h;)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget v2, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    iget v3, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->a:I

    if-ne v2, v3, :cond_2

    .line 9
    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->b:Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ImageContainer;->a:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    iput-object v0, v1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    .line 10
    :cond_2
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0$a;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->c:Ljava/lang/Runnable;

    if-eqz v1, :cond_3

    .line 11
    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c0;->d:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h:Lcom/estrongs/android/pop/app/imageviewer/b;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_3
    :goto_1
    return-void
.end method
